package com.cafuc.javaEE.service.impl;

import com.cafuc.javaEE.service.CService;
import com.cafuc.javaEE.service.DService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class CServiceImpl implements CService {
    @Autowired
    private DService dService;
    @Override
    public void ca() {
        dService.cal();
        System.out.println("==== 1111 ====");
    }
}
